<?php
class List_news extends Controller
{
	function List_news()
	{

		parent::Controller();
		$this->load->database();
		$this->load->helper('form');
		$this->load->helper('url');


	}
	function index()
	{


		$data['query']=$this->db->get('gaoji_news');
		//$data=$query->result();
		//print_r($data);exit;
		$this->load->view('admin_list',$data);
	}
}

?>